* {
    list-style: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #282a2d;
    /* background-image: url('../../../assets/backimg/city2.jpg'); */
    background-image: url('../../../assets/backimg/city1.png');
    background-repeat: no-repeat;
    background-size: cover;
    /* backdrop-filter: blur(4px); */
    color: white;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.2rem;
    margin: 0;
    overflow: hidden;
    perspective: 1000px;
    /* 转大写 */
    /* text-transform: uppercase; */
    transition: backdrop-filter 2.5s;
    /* cursor: url('../../assets/mouseImg/2424.png'), auto; */
}


.site-wrap {
    transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);
}

.site-wrap.show-all {
    transform: rotateY(-15deg) scale(0.2);
}

.panel-wrap {
    height: 100vh;
    width: 100vw;
}

h1 {
    font-size: 20vmin;
    margin: 0;
}

.panel-wrap {
    perspective: 2000px;
    transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);
}

.panel-wrap.animate--shrink,
.panel-wrap.animate--tilt,
.panel-wrap.animate--tilt2 {
    transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1) 0.3s;
}

.panel {
    height: 100vh;
    position: absolute;
    transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);
    width: 100vw;
    will-change: transform;
}

.panel:before {
    background-color: transparent;
    bottom: 0;
    content: "";
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    transition: background-color 0.3s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: 2;
}

.show-all .panel:before {
    pointer-events: all;
}

.show-all .panel:hover:before {
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.animate--shrink.animate .panel {
    transform: scale(0.9);
}

.animate--tilt.animate .panel {
    transform: scale(0.6) rotateY(-25deg);
}

.animate--tilt2.animate .panel {
    transform: scale(0.8) rotateX(25deg);
}

.panel h1 {
    cursor: default;
    left: 50%;
    line-height: 1;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    user-select: none;
}

.panel[data-x-pos="-2"] {
    left: -200%;
}

.panel[data-x-pos="-1"] {
    left: -100%;
}

.panel[data-x-pos="1"] {
    left: 100%;
}

.panel[data-x-pos="2"] {
    left: 200%;
}

.panel[data-y-pos="-2"] {
    top: 200%;
}

.panel[data-y-pos="-1"] {
    top: 100%;
}

.panel[data-y-pos="1"] {
    top: -100%;
}

.panel[data-y-pos="2"] {
    top: -200%;
}

.panel__zoom {
    cursor: pointer;
    left: 50%;
    opacity: 0.2;
    position: absolute;
    top: 50%;
    transform: translateX(-50%) translateY(-50%) translateY(-12vmin);
    transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);
    user-select: none;
    z-index: 10;
}

.panel__zoom:hover {
    opacity: 1;
}

.show-all .panel__zoom {
    pointer-events: none;
}

.panel__nav {
    cursor: pointer;
    opacity: 0.2;
    position: absolute;
    transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);
    user-select: none;
    will-change: opacity;
}

.panel__nav--up {
    left: 50%;
    top: 1rem;
    transform: translateX(-50%);
}

.panel__nav--left {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg) translateX(-100%);
    transform-origin: top left;
}

.panel__nav--left-top {
    left: 1rem;
    top: 1rem;
}

.panel__nav--left-down {
    bottom: 1rem;
    left: 1rem;
}

.panel__nav--right {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%) rotate(90deg) translateX(100%);
    transform-origin: top right;
}

.panel__nav--right-top {
    right: 1rem;
    top: 1rem;
}

.panel__nav--right-down {
    bottom: 1rem;
    right: 1rem;
}

.panel__nav--down {
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

.panel__nav:hover {
    opacity: 1;
}

.panel__animation-list {
    font-size: 3.3vmin;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translateX(-50%) translateY(-50%) translateY(14vmin);
}

.panel__animation-list span {
    cursor: pointer;
    display: inline-block;
    opacity: 0.2;
    position: relative;
    transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);
    user-select: none;
}

.panel__animation-list span:after {
    border-bottom: 0.3vmin solid transparent;
    bottom: 0;
    content: "";
    left: -1px;
    position: absolute;
    right: 0;
    transition: border-color 0.3s cubic-bezier(0.55, 0, 0.1, 1);
    width: 100%;
}

.panel__animation-list span.active,
.panel__animation-list span:hover {
    opacity: 1;
}

.panel__animation-list span.active:after,
.panel__animation-list span:hover:after {
    border-color: white;
}

/* svg */
.icon {
    width: 100%;
    height: 100%;
}

.icon-path {
    animation: animation .3s linear forwards;
}

@keyframes animation {
    0% {
        fill: white;
        stroke: #111;
        stroke-dasharray: 2718;
        stroke-dashoffset: 2718;
    }

    50% {
        fill: rgb(255, 255, 255);
        stroke: #333;
        stroke-dasharray: 2718;
        stroke-dashoffset: 0;
    }

    75% {
        fill: rgb(166, 230, 246);
        stroke: white;
    }

    100% {
        fill: rgb(59, 240, 225);
        stroke: white;
    }
}

/* rain */
.content {
    width: 100vw;
    height: 100vh;
    /* background: url(../img/1.jpg) center center no-repeat; */
    background-size: cover;
}

#rainBox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
}

.rain {
    position: absolute;
    width: 2px;
    height: 50px;
    background: linear-gradient(rgba(255, 255, 255, .3), rgba(255, 255, 255, .6));
}

.nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 50px;
    background-color: gray;
    /* overflow: hidden; */
    opacity: 0.4;
    transition: all 0.5s;
    z-index: 10;
}

@media screen and (max-width: 750px) {
    .nav {
        height: 40px;
    }
}

.nav:hover {
    opacity: 1;
}

.nav ul {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: 100%;
    grid-gap: 1vw;
    /* padding: 1vh; */
}

.nav ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10%;
}

.zoomButton {
    cursor: pointer;
}

.rainButton {
    cursor: pointer;
}

.timeBox {
    height: 100%;
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    float: right;
    font-size: 110%;
}

.weekBox {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 200%;
    color: rgb(141, 234, 222);
}

.dateBox {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 140%;
    color: rgb(255, 150, 166);
}

.interduce_text_box {
    padding: 2%;
    font-size: 4%;
}


.me_box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.me_box_img {
    width: 50%;
    /* height: 50%; */
    aspect-ratio: 1 / 1;
    /* 设置宽高比 */
    border-radius: 50%;
    overflow: hidden;
    transform: rotate(0);
    animation: animRotate 6s linear infinite;
}

.me_box p {
    font-size: 20px;
    font-family: cursive;
    font-weight: 600;
    /* 发光效果 */
    text-shadow: 0 0 10px #fff, 0 0 20px #FFF, 0 0 30px #fff, 0 0 40px #FFF;
}

@keyframes animRotate {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

.gif-img-box {
    position: relative;
}

.gif-img-box img {
    position: absolute;
    height: 100%;
}